package io.renren.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import io.renren.dao.DataPayrollDxdetailDao;
import io.renren.entity.DataPayrollDxdetailEntity;
import io.renren.service.DataPayrollDxdetailService;



@Service("dataPayrollDxdetailService")
public class DataPayrollDxdetailServiceImpl implements DataPayrollDxdetailService {
	@Autowired
	private DataPayrollDxdetailDao dataPayrollDxdetailDao;
	
	@Override
	public DataPayrollDxdetailEntity queryObject(String id){
		return dataPayrollDxdetailDao.queryObject(id);
	}
	
	@Override
	public List<DataPayrollDxdetailEntity> queryList(Map<String, Object> map){
		return dataPayrollDxdetailDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return dataPayrollDxdetailDao.queryTotal(map);
	}
	
	@Override
	public void save(DataPayrollDxdetailEntity dataPayrollDxdetail){
		dataPayrollDxdetailDao.save(dataPayrollDxdetail);
	}
	
	@Override
	public void update(DataPayrollDxdetailEntity dataPayrollDxdetail){
		dataPayrollDxdetailDao.update(dataPayrollDxdetail);
	}
	
	@Override
	public void delete(String id){
		dataPayrollDxdetailDao.delete(id);
	}
	
	@Override
	public void deleteBatch(String[] ids){
		dataPayrollDxdetailDao.deleteBatch(ids);
	}
	
}
